package com.neasho.neashoadminv1.infrastructure.domain

import org.babyfish.jimmer.sql.EnumItem

interface BaseEnum {
    val comment: String
}

enum class YesOrNo(override val comment:String):  BaseEnum {
    @EnumItem
    yes("是"),
    @EnumItem
    no("否")
}

enum class SysMenuType(override val comment:String): BaseEnum {
    @EnumItem
    menu("菜单"),
    @EnumItem
    button("按钮")
}